package com.tjp.user.convert;

import com.tjp.user.bo.AuthUserBO;
import com.tjp.user.dto.AuthUserDTO;
import com.tjp.user.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @program: ape-frame
 * @description: 用户dto转换工具类
 * @author: aaronTang
 * @create: 2024-05-17
 */
@Mapper
public interface AuthUserBoConvert {

    AuthUserBoConvert INSTANCE = Mappers.getMapper(AuthUserBoConvert.class);

    AuthUserBO convertAuthUserDtoToBo(AuthUserDTO authUserDTO);

    AuthUser convertAuthUserBoToEntity(AuthUserBO authUserBO);

}
